package com.yiwyn.traceiddemo.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class TestService {

    @Resource
    private Test2Service test2Service;

    public void testService1() {
        log.info("service 1 ");
        String test = test2Service.test();
        log.info("获取到service2 的内容： {}", test);
    }

}
